From 79d279d596818e77719f30ef3a9c971c0f4bce06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Thu, 14 Jan 2021 18:32:33 +0100 Subject: [PATCH] phase1,2: fix missing tmp dir MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Silence the missing tmp dir warning in the source.git. Signed-off-by: Petr Å tetiar --- phase1/master.cfg | 1 + phase2/master.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/phase1/master.cfg b/phase1/master.cfg index 5a20804..b32096b 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -207,6 +207,7 @@ if not os.path.isdir(work_dir+'/source.git'): else: subprocess.call(["git", "pull"], cwd = work_dir+'/source.git') +os.makedirs(work_dir+'/source.git/tmp', exist_ok=True) findtargets = subprocess.Popen(['./scripts/dump-target-info.pl', 'targets'], stdout = subprocess.PIPE, cwd = work_dir+'/source.git') diff --git a/phase2/master.cfg b/phase2/master.cfg index 58c5e57..d3ad8b6 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -163,6 +163,7 @@ if not os.path.isdir(work_dir+'/source.git'): else: subprocess.call(["git", "pull"], cwd = work_dir+'/source.git') +os.makedirs(work_dir+'/source.git/tmp', exist_ok=True) findarches = subprocess.Popen(['./scripts/dump-target-info.pl', 'architectures'], stdout = subprocess.PIPE, cwd = work_dir+'/source.git') -- 2.30.2